package com.li.service.impl;

import com.li.entity.Music;
import com.li.mapper.MusicMapper;
import com.li.service.MusicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author li
 * @version 1.0
 * @ClassName MusicServiceImpl
 * @description: TODO
 * @date 2025年02月07日
 */
@Service
public class MusicServiceImpl implements MusicService {


    @Autowired
    private MusicMapper musicMapper;


    @Override
    public Music getById(Integer id) {

        return musicMapper.getById(id);
    }
}
